<?php
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/privacy/dlp/v2beta1/dlp.proto

namespace Google\Cloud\Dlp\V2beta1;

use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\RepeatedField;
use Google\Protobuf\Internal\GPBUtil;

/**
 * Location of a finding within a `ContentItem.Table`.
 *
 * Generated from protobuf message <code>google.privacy.dlp.v2beta1.TableLocation</code>
 */
class TableLocation extends \Google\Protobuf\Internal\Message
{
    /**
     * The zero-based index of the row where the finding is located.
     *
     * Generated from protobuf field <code>int64 row_index = 1;</code>
     */
    private $row_index = 0;

    public function __construct() {
        \GPBMetadata\Google\Privacy\Dlp\V2Beta1\Dlp::initOnce();
        parent::__construct();
    }

    /**
     * The zero-based index of the row where the finding is located.
     *
     * Generated from protobuf field <code>int64 row_index = 1;</code>
     * @return int|string
     */
    public function getRowIndex()
    {
        return $this->row_index;
    }

    /**
     * The zero-based index of the row where the finding is located.
     *
     * Generated from protobuf field <code>int64 row_index = 1;</code>
     * @param int|string $var
     * @return $this
     */
    public function setRowIndex($var)
    {
        GPBUtil::checkInt64($var);
        $this->row_index = $var;

        return $this;
    }

}

